﻿using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Xml.Linq;

using ProjectBase.Core;

namespace ProjectBase.Tools.Publishing
{
    public class NullPublishingHandler : PublishingHandlerBase
    {

        public override void Init(XElement settings) { }

        protected override PublishingResult Publish(object reporter, string message, Exception exception)
        {
            return PublishingResult.Finished;
        }

        protected override PublishingResult Publish(object reporter, Severity severity, object message, params object[] args)
        {
            return PublishingResult.Finished;
        }

        protected override PublishingResult Publish(object reporter, Func<string> message, Severity severity)
        {
            return PublishingResult.Finished;
        }
    }
}